package net.xmat.webtest.web.controller;

import net.xmat.webtest.dao.IBookDao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/publishers")
public class PublisherController {
	
	@Autowired
	private IBookDao bookDao;
	
	@RequestMapping("list")
	public String list() {
		return "home";
	}
	
	@RequestMapping("save")
	public String add() {
		
		return "redirect:list";
	}
	
}
